all:client server tcp_server

server:server.cc
	g++ -o $@ $^ -pthread -g
client:tcp_client.cc
	g++ -o $@ $^ -pthread -g
tcp_server:tcp_server.cc
	g++ -o $@ $^ -pthread -g

.PHONY:clean
clean:
	rm -rf server client